namespace CLELCore.Assembly.CLELInstructions
{
	public class Blts : CLELInstruction
	{
		private sbyte _offset;

		public override int Length
		{
			get
			{
				return 2;
			}
		}
		public sbyte Offset
		{
			get
			{
				return _offset;
			}
			set
			{
				_offset = value;
			}
		}
		public Blts(sbyte offset) : base(CLELOpcode.BLTS)
		{
			_offset = offset;
		}

		public override byte[] GetBytes(bool little_endian)
		{
			byte[] ret = new byte[2];
			ret[0] = CLELOpcode.BLTS;
			ret[1] = (byte)_offset;
			return ret;
		}
		
		public override string ToString()
		{
			return "blt.s " + _offset;
		}
	}
}
